package com.google.pages;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;

public class ProductsAccountPage extends Page{
	
	@FindBy(xpath = "//div[text()='iGoogle']")
	public WebElement iGoogleButton;
	
	public ProductsAccountPage(WebDriver driver) {
		super(driver);
	}
	
	public IGooglePage iGoogleButtonClick() {
		iGoogleButton.click();
		return PageFactory.initElements(driver, IGooglePage.class);
	}

	public void open() {
		// TODO Auto-generated method stub
		
	}
	
	
	
	

}
